﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.SH.SHFastShipBP
{
	/// <summary>
	/// 快速发货料品信息 DTO :自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Name = "UFIDA.U9.Cust.SH.SHFastShipBP.ItemInfoDTOData", Namespace = "http://www.UFIDA.org/EntityData",IsReference=true)]
	[Serializable]
	[KnownType("GetKnownTypes")]
	public partial class ItemInfoDTOData : UFSoft.UBF.Business.DataTransObjectBase
	{
		public static IList<Type> GetKnownTypes()
        {
            IList<Type> knownTypes = new List<Type>();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
            knownTypes.Add(typeof(UFSoft.UBF.Util.Data.MultiLangDataDict));
            return knownTypes;
        }
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ItemInfoDTOData()
		{
			initData();
		}
		private void initData()
		{
					ItemID= 0; 
				
		
					StoreQty=0m; 
					AvailableQty=0m; 
					Price=0m; 
					WH= 0; 
				
		
					UOM= 0; 
				
		
					Weight=0m; 
		
		
		
		
		
		
		
					SOLineID= 0; 
							Qty=0m; 
					ProductPrice=0m; 
					MarkPrice=0m; 
					TransportPrice=0m; 
					StorePrice=0m; 
					LotID= 0; 
				
		
		
					Deposit=0m; 
		
		
					OrderQty=0m; 
					SalePrice=0m; 
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
        internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
        {
			 initData();
        }
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public ItemInfoDTOData(  System.Int64 itemID  , System.String itemCode  , System.String itemName  , System.Decimal storeQty  , System.Decimal availableQty  , System.Decimal price  , System.Int64 wH  , System.String wHCode  , System.String wHName  , System.Int64 uOM  , System.String uOMCode  , System.String uOMName  , System.Decimal weight  , System.String sFSpec  , System.String sFMaterial  , System.String direction  , System.String sFCount  , System.String lastCustomer  , System.String priceType  , System.String lot  , System.Int64 sOLineID  , System.Decimal qty  , System.Decimal productPrice  , System.Decimal markPrice  , System.Decimal transportPrice  , System.Decimal storePrice  , System.Int64 lotID  , System.String sODocNo  , System.String itemSpec  , System.String memo  , System.Decimal deposit  , System.String mDDocNo  , System.String mDMemo  , System.Decimal orderQty  , System.Decimal salePrice  , System.String mDItemCode  , System.String mDLineID  )
		{
			initData();
			this.ItemID = itemID;
			this.ItemCode = itemCode;
			this.ItemName = itemName;
			this.StoreQty = storeQty;
			this.AvailableQty = availableQty;
			this.Price = price;
			this.WH = wH;
			this.WHCode = wHCode;
			this.WHName = wHName;
			this.UOM = uOM;
			this.UOMCode = uOMCode;
			this.UOMName = uOMName;
			this.Weight = weight;
			this.SFSpec = sFSpec;
			this.SFMaterial = sFMaterial;
			this.Direction = direction;
			this.SFCount = sFCount;
			this.LastCustomer = lastCustomer;
			this.PriceType = priceType;
			this.Lot = lot;
			this.SOLineID = sOLineID;
			this.Qty = qty;
			this.ProductPrice = productPrice;
			this.MarkPrice = markPrice;
			this.TransportPrice = transportPrice;
			this.StorePrice = storePrice;
			this.LotID = lotID;
			this.SODocNo = sODocNo;
			this.ItemSpec = itemSpec;
			this.Memo = memo;
			this.Deposit = deposit;
			this.MDDocNo = mDDocNo;
			this.MDMemo = mDMemo;
			this.OrderQty = orderQty;
			this.SalePrice = salePrice;
			this.MDItemCode = mDItemCode;
			this.MDLineID = mDLineID;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 料品ID
		/// 快速发货料品信息.Misc.料品ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_itemID ;
		public System.Int64 ItemID
		{
			get	
			{	
				return m_itemID ;
			}
			set	
			{	
				m_itemID = value ;	
			}
		}
			
		

		/// <summary>
		/// 料号
		/// 快速发货料品信息.Misc.料号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_itemCode ;
		public System.String ItemCode
		{
			get	
			{	
				return m_itemCode ;
			}
			set	
			{	
				m_itemCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 品名
		/// 快速发货料品信息.Misc.品名
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_itemName ;
		public System.String ItemName
		{
			get	
			{	
				return m_itemName ;
			}
			set	
			{	
				m_itemName = value ;	
			}
		}
			
		

		/// <summary>
		/// 库存量
		/// 快速发货料品信息.Misc.库存量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_storeQty ;
		public System.Decimal StoreQty
		{
			get	
			{	
				return m_storeQty ;
			}
			set	
			{	
				m_storeQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 可用量
		/// 快速发货料品信息.Misc.可用量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_availableQty ;
		public System.Decimal AvailableQty
		{
			get	
			{	
				return m_availableQty ;
			}
			set	
			{	
				m_availableQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 单价
		/// 快速发货料品信息.Misc.单价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_price ;
		public System.Decimal Price
		{
			get	
			{	
				return m_price ;
			}
			set	
			{	
				m_price = value ;	
			}
		}
			
		

		/// <summary>
		/// 存储地点
		/// 快速发货料品信息.Misc.存储地点
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_wH ;
		public System.Int64 WH
		{
			get	
			{	
				return m_wH ;
			}
			set	
			{	
				m_wH = value ;	
			}
		}
			
		

		/// <summary>
		/// 存储地点编码
		/// 快速发货料品信息.Misc.存储地点编码
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_wHCode ;
		public System.String WHCode
		{
			get	
			{	
				return m_wHCode ;
			}
			set	
			{	
				m_wHCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 存储地点名称
		/// 快速发货料品信息.Misc.存储地点名称
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_wHName ;
		public System.String WHName
		{
			get	
			{	
				return m_wHName ;
			}
			set	
			{	
				m_wHName = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位
		/// 快速发货料品信息.Misc.单位
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_uOM ;
		public System.Int64 UOM
		{
			get	
			{	
				return m_uOM ;
			}
			set	
			{	
				m_uOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位编码
		/// 快速发货料品信息.Misc.单位编码
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_uOMCode ;
		public System.String UOMCode
		{
			get	
			{	
				return m_uOMCode ;
			}
			set	
			{	
				m_uOMCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位名称
		/// 快速发货料品信息.Misc.单位名称
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_uOMName ;
		public System.String UOMName
		{
			get	
			{	
				return m_uOMName ;
			}
			set	
			{	
				m_uOMName = value ;	
			}
		}
			
		

		/// <summary>
		/// 重量
		/// 快速发货料品信息.Misc.重量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_weight ;
		public System.Decimal Weight
		{
			get	
			{	
				return m_weight ;
			}
			set	
			{	
				m_weight = value ;	
			}
		}
			
		

		/// <summary>
		/// 沙发规格
		/// 快速发货料品信息.Misc.沙发规格
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFSpec ;
		public System.String SFSpec
		{
			get	
			{	
				return m_sFSpec ;
			}
			set	
			{	
				m_sFSpec = value ;	
			}
		}
			
		

		/// <summary>
		/// 沙发布料
		/// 快速发货料品信息.Misc.沙发布料
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFMaterial ;
		public System.String SFMaterial
		{
			get	
			{	
				return m_sFMaterial ;
			}
			set	
			{	
				m_sFMaterial = value ;	
			}
		}
			
		

		/// <summary>
		/// 方向位
		/// 快速发货料品信息.Misc.方向位
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_direction ;
		public System.String Direction
		{
			get	
			{	
				return m_direction ;
			}
			set	
			{	
				m_direction = value ;	
			}
		}
			
		

		/// <summary>
		/// 沙发件数
		/// 快速发货料品信息.Misc.沙发件数
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sFCount ;
		public System.String SFCount
		{
			get	
			{	
				return m_sFCount ;
			}
			set	
			{	
				m_sFCount = value ;	
			}
		}
			
		

		/// <summary>
		/// 下线客户
		/// 快速发货料品信息.Misc.下线客户
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_lastCustomer ;
		public System.String LastCustomer
		{
			get	
			{	
				return m_lastCustomer ;
			}
			set	
			{	
				m_lastCustomer = value ;	
			}
		}
			
		

		/// <summary>
		/// 正特价
		/// 快速发货料品信息.Misc.正特价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_priceType ;
		public System.String PriceType
		{
			get	
			{	
				return m_priceType ;
			}
			set	
			{	
				m_priceType = value ;	
			}
		}
			
		

		/// <summary>
		/// 批号
		/// 快速发货料品信息.Misc.批号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_lot ;
		public System.String Lot
		{
			get	
			{	
				return m_lot ;
			}
			set	
			{	
				m_lot = value ;	
			}
		}
			
		

		/// <summary>
		/// 销售订单行ID
		/// 快速发货料品信息.Misc.销售订单行ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_sOLineID ;
		public System.Int64 SOLineID
		{
			get	
			{	
				return m_sOLineID ;
			}
			set	
			{	
				m_sOLineID = value ;	
			}
		}
			
		

		/// <summary>
		/// 发货数量
		/// 快速发货料品信息.Misc.发货数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_qty ;
		public System.Decimal Qty
		{
			get	
			{	
				return m_qty ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
			
		

		/// <summary>
		/// 产品价
		/// 快速发货料品信息.Misc.产品价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_productPrice ;
		public System.Decimal ProductPrice
		{
			get	
			{	
				return m_productPrice ;
			}
			set	
			{	
				m_productPrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 品牌价
		/// 快速发货料品信息.Misc.品牌价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_markPrice ;
		public System.Decimal MarkPrice
		{
			get	
			{	
				return m_markPrice ;
			}
			set	
			{	
				m_markPrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 运输价
		/// 快速发货料品信息.Misc.运输价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_transportPrice ;
		public System.Decimal TransportPrice
		{
			get	
			{	
				return m_transportPrice ;
			}
			set	
			{	
				m_transportPrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 仓储价
		/// 快速发货料品信息.Misc.仓储价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_storePrice ;
		public System.Decimal StorePrice
		{
			get	
			{	
				return m_storePrice ;
			}
			set	
			{	
				m_storePrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 批号ID
		/// 快速发货料品信息.Misc.批号ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int64 m_lotID ;
		public System.Int64 LotID
		{
			get	
			{	
				return m_lotID ;
			}
			set	
			{	
				m_lotID = value ;	
			}
		}
			
		

		/// <summary>
		/// 订单号
		/// 快速发货料品信息.Misc.订单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_sODocNo ;
		public System.String SODocNo
		{
			get	
			{	
				return m_sODocNo ;
			}
			set	
			{	
				m_sODocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品规格
		/// 快速发货料品信息.Misc.料品规格
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_itemSpec ;
		public System.String ItemSpec
		{
			get	
			{	
				return m_itemSpec ;
			}
			set	
			{	
				m_itemSpec = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 快速发货料品信息.Misc.备注
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_memo ;
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 定金
		/// 快速发货料品信息.Misc.定金
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_deposit ;
		public System.Decimal Deposit
		{
			get	
			{	
				return m_deposit ;
			}
			set	
			{	
				m_deposit = value ;	
			}
		}
			
		

		/// <summary>
		/// 门店订单号
		/// 快速发货料品信息.Misc.门店订单号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDDocNo ;
		public System.String MDDocNo
		{
			get	
			{	
				return m_mDDocNo ;
			}
			set	
			{	
				m_mDDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 订单说明
		/// 快速发货料品信息.Misc.订单说明
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDMemo ;
		public System.String MDMemo
		{
			get	
			{	
				return m_mDMemo ;
			}
			set	
			{	
				m_mDMemo = value ;	
			}
		}
			
		

		/// <summary>
		/// 订货数量
		/// 快速发货料品信息.Misc.订货数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_orderQty ;
		public System.Decimal OrderQty
		{
			get	
			{	
				return m_orderQty ;
			}
			set	
			{	
				m_orderQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 销售价
		/// 快速发货料品信息.Misc.销售价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_salePrice ;
		public System.Decimal SalePrice
		{
			get	
			{	
				return m_salePrice ;
			}
			set	
			{	
				m_salePrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 组合料号
		/// 快速发货料品信息.Misc.组合料号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDItemCode ;
		public System.String MDItemCode
		{
			get	
			{	
				return m_mDItemCode ;
			}
			set	
			{	
				m_mDItemCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 门店订单明细ID
		/// 快速发货料品信息.Misc.门店订单明细ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDLineID ;
		public System.String MDLineID
		{
			get	
			{	
				return m_mDLineID ;
			}
			set	
			{	
				m_mDLineID = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																																																										
		#endregion 
	} 	
}

	
